import { ref } from "vue";

export default function userSelectParent() {
    // parent组件的ref属性
    const parentRef = ref<{show111:() => void}>()

    // 点击选择上级部门
    const selectParent = () => {
        parentRef.value?.show111()
    }

    return {
        parentRef,
        selectParent
    }
}